package com.i2works.smartluolong.web.entity.user;


import com.alibaba.fastjson.annotation.JSONField;
import com.i2works.smartluolong.utils.entity.BaseCommDO;

import java.util.Date;

/**
 * 会员基础实体类
 *
 * @author Liu Yutao
 * @className UserAccountDO
 * @email koal@vip.qq.com
 * @date 2016/2/7 17:08
 */

public class UserAccountVO extends BaseCommDO {

    private Integer id; //
    private String userName; // 账号
    private String phone; // 手机号
    private String email; // 邮箱
    private String loginIp; // 登录IP
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date loginTime; // 登录时间
    private Integer status; // 状态(1启用，0禁用）
    private String ukey; //ukey
    //附加
    private String roleNames;   //角色名称
    private Integer roleId; // 用户角色ID
    private String avatar; // 用户头像
    private String realName; // 全名（个人姓名和企业全称）
    private String address; // 省市区链接（河南省-洛阳市-洛龙区）
    private String openId;//第三方登陆用户id
    private Integer category;//用户类型 13个人 14法人

    //默认无参构造
    public UserAccountVO() {

    }

    public String getUkey() {
        return ukey;
    }

    public void setUkey(String ukey) {
        this.ukey = ukey;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }


    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }


    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }


    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRoleNames() {
        return roleNames;
    }

    public void setRoleNames(String roleNames) {
        this.roleNames = roleNames;
    }

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public Integer getCategory() {
		return category;
	}

	public void setCategory(Integer category) {
		this.category = category;
	}


    
}
